# 加法
def add(a, b):
    return a + b


print(add(3, 4))


# 减法
def minus(a, b):
    return a - b


print(minus(9, 4))


# 乘法
def product(c, d):
    return c * d


print(product(9, 4))


# 除法
def division(a, b):
    return a / b


print(division(12, 4))


# 整除
def zhengchu(a, b):
    return a // b


print(zhengchu(12, 5))


# 取余
def mod(a, b):
    return a % b


print(zhengchu(15, 4))


# 指数
def index(a, b):
    return a ** b


print(index(2, 4))


# 开方跟
def sqrt(a, b):
    return a ** (1 / b)


print(sqrt(16, 2))
